import request from '@/utils/request'

export function getMenu(data){
    return request({
        url:'/menulist',
        method:'get',
        params:data
    });
}

export function getAllMenu(data){
    return request({
        url:'/allmenulist',
        method:'get',
        params:data
    });
}

export function editAccount(data){
    return request({
       url:'/editaccount',
       method:'post',
       data:qs.stringify(data)
    });
}
